package com.xyy.saas.payment.util;

import org.apache.commons.lang3.StringUtils;

public class XYYStringUtils {
    public static String removeStartSymbol(String source, String symbol) {
        if(StringUtils.isBlank(source)) {
            return source;
        }

        return source.startsWith(symbol) ? source.substring(source.indexOf(symbol) + 1): source;
    }

    public static void main(String[] args) {
        System.out.println(XYYStringUtils.removeStartSymbol("3.90", "`"));
    }
}
